package com.hp.Model.DTO;

import lombok.*;

/**
 * View: v_course_stats (course_id, lesson_count, total_duration_sec, enroll_count)
 */
@Data @Builder @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode(of = "courseId")
public class CourseStats {
    private Long courseId;
    private Integer lessonCount;
    private Long totalDurationSec;
    private Integer enrollCount;
}
